package cn.abcsys.cloud.devops.runtime.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

//@Component("systemConfig")
@Configuration
@PropertySource(value="classpath:config/system.properties")
public class SystemConfig {
	@Value("${kube.master.dns}")
	private String kubeMasterDns;
	@Value("${distribution.dns}")
	private String distributionDns;
	@Value("${share.path}")
	private String sharePath;
	
	@Value("${pipeline.host.ip}")
	private String pipelineHostIp;
	@Value("${pipeline.host.user}")
	private String pipelineHostUser;
	@Value("${pipeline.host.pwd}")
	private String pipelineHostPwd;
	public String getSharePath() {
		return sharePath;
	}

	public void setSharePath(String sharePath) {
		this.sharePath = sharePath;
	}
	public String getKubeMasterDns() {
		return kubeMasterDns;
	}
	public void setKubeMasterDns(String kubeMasterDns) {
		this.kubeMasterDns = kubeMasterDns;
	}

	public String getDistributionDns() {
		return distributionDns;
	}

	public void setDistributionDns(String distributionDns) {
		this.distributionDns = distributionDns;
	}

	public String getPipelineHostIp() {
		return pipelineHostIp;
	}

	public void setPipelineHostIp(String pipelineHostIp) {
		this.pipelineHostIp = pipelineHostIp;
	}

	public String getPipelineHostUser() {
		return pipelineHostUser;
	}

	public void setPipelineHostUser(String pipelineHostUser) {
		this.pipelineHostUser = pipelineHostUser;
	}

	public String getPipelineHostPwd() {
		return pipelineHostPwd;
	}

	public void setPipelineHostPwd(String pipelineHostPwd) {
		this.pipelineHostPwd = pipelineHostPwd;
	}
	
}
